package com.example.service;

import com.example.common.base.service.BaseService;
import com.example.common.utils.ApiResult;
import com.example.model.entity.TArea;
import com.example.model.entity.TSource;
import com.example.model.query.SuppliesTypeQuery;
import com.example.model.query.TSourceQuery;
import com.example.model.vo.AreaTree;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *  Service接口
 *
 * @author Tellsea
 * @Description Created on 2020-12-11
 */
@Service
public interface TSourceService extends BaseService<TSource> {
     ApiResult<List<TSource>> getList();
     ApiResult<Boolean> saveT(TSource area);
     /**
      * 用户信息分页查询
      *
      * @param query
      * @return
      */
     ApiResult<TSourceQuery> pageUserVoByQuery(TSourceQuery query) throws Exception;
}
